/**
@description base文件

@copyright    Copyright 2021 高灯科技
@version      1.0.0
@link         https://www.goldentec.com
@author       venki.chen <venki.chen@goldentec.com>
@datetime     2021/11/17 11:52
*/

package base

import (
	"fmt"
	"reflect"
)

type gfg struct {
	Prop string
}

func (f gfg) Geek1() string {
	return f.Prop
}

func (f gfg) Geek2() {
}

// AccessTest Main function
func AccessTest() {
	fooType := reflect.TypeOf(gfg{})
	for i := 0; i < fooType.NumMethod(); i++ {
		method := fooType.Method(i)
		fmt.Println(method.Name)
	}
}
